﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="ContactUs.aspx.cs" Inherits="InfoStuffStore.FormContactUs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <script type="text/javascript">
    function ValidatePage() {
        var isvalid = true;
        if (document.getElementById("<%=txtName.ClientID %>").value == "") {
            isvalid = false;
        }
        if (document.getElementById("<%=txtEmail.ClientID %>").value == "") {
            isvalid = false;
        }
        if (document.getElementById("<%=txtSubject.ClientID %>").value == "") {
            isvalid = false;
        }
        if (document.getElementById("<%=txtMessage.ClientID %>").value == "") {
            isvalid = false;
        }

        if (!isvalid) {
            alert('All fields are required!');
            return false;
        }

        return true;
    }
</script>
    <div id="content">
        <h2>
            Contact Information</h2>
        <div class="col col_13">
            <p>
                Please contact us for any feedback</p>
            <div id="contact_form">
                <label for="author">
                    Name:</label>
                <asp:TextBox ID="txtName" runat="server" CssClass="required input_field"></asp:TextBox>
                <div class="cleaner h10">
                </div>
                <label for="email">
                    Email:</label>
                <asp:TextBox ID="txtEmail" runat="server" CssClass="required input_field"></asp:TextBox>
                <div class="cleaner h10">
                </div>
                <label for="subject">
                    Subject:</label>
                <asp:TextBox ID="txtSubject" runat="server" CssClass="required input_field"></asp:TextBox>
                <div class="cleaner h10">
                </div>
                <label for="text">
                    Message:</label>
                <asp:TextBox ID="txtMessage" TextMode="MultiLine" Width="270px" runat="server" CssClass="required input_field"></asp:TextBox>
                <div class="cleaner h10">
                </div>
                <asp:Button ID="btnSubmit" runat="server" Text="Submit" 
                    CssClass="submit_btn float_r" onclick="btnSubmit_Click" OnClientClick="return ValidatePage();" />
            </div>
        </div>
        <br />
        <p>
            
        </p>
        TechSavvy Internet LLC
        <br />
        Peter Mills-Baker<br />
        +44.2082056186
        <br />
        
        <br />
        10 Redhill Drive Edgware,
        <br />
        Middx WC1N 3XX GB<br />
        <iframe width="600" height="450" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.co.in/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=Redhill+Drive+Edgware&amp;sll=17.408909,78.465759&amp;sspn=0.676155,1.146698&amp;ie=UTF8&amp;hq=&amp;hnear=Redhill+Dr&amp;t=m&amp;z=14&amp;ll=51.597131,-0.268778&amp;output=embed"></iframe><br /><small><a href="https://maps.google.co.in/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=Redhill+Drive+Edgware&amp;sll=17.408909,78.465759&amp;sspn=0.676155,1.146698&amp;ie=UTF8&amp;hq=&amp;hnear=Redhill+Dr&amp;t=m&amp;z=14&amp;ll=51.597131,-0.268778" style="color:#0000FF;text-align:left">View Larger Map</a></small>
    </div>
</asp:Content>
